package com.cnpc.fynetwork.pslistener;

/**
 * Created by bingju on 2016/11/30.
 */
public interface ProgressListener {
    /**
     * @param progres 下载或者上传的进度
     *
     * @param total   资源的总大小
     *
     * @param done    是否下载或上传完毕
     * */
    void onProgress(long progres, long total, boolean done);
}
